﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using Microsoft.EntityFrameworkCore;

#nullable disable

namespace WebApplication.Models
{
    [Table("person")]
    public partial class Person
    {
        [Key]
        [Column("id")]
        public int Id { get; set; }
        [Required]
        [Column("name")]
        [StringLength(32)]
        public string Name { get; set; }
        [Required]
        [Column("gender")]
        [StringLength(2)]
        public string Gender { get; set; }
        [Required]
        [Column("sno")]
        [StringLength(32)]
        public string Sno { get; set; }
    }
}
